package com.rabbit.framework.config.properties;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @projectName rabbit
 * @packageName com.rabbit.framework.config.properties
 * @className SecurityProperties
 * @author： rabbit
 * @version： 1.0
 * @creteTime： 2021/9/30 15:29
 * @Description: Security配置属性
 */
@Data
@Component
@ConfigurationProperties(prefix = "security")
public class SecurityProperties {
    /**
     * 退出登录url
     */
    private String logoutUrl;

    /**
     * 匿名放行路径
     */
    private String[] anonymous;

    /**
     * 用户任意访问放行路径
     */
    private String[] permitAll;
}
